package com.gec.system.mapper;

import com.gec.model.pojo.TChat;
import com.gec.model.pojo.TChatExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TChatMapper {
    long countByExample(TChatExample example);

    int deleteByExample(TChatExample example);

    int deleteByPrimaryKey(String id);

    int insert(TChat record);

    int insertSelective(TChat record);

    List<TChat> selectByExampleWithBLOBs(TChatExample example);

    List<TChat> selectByExample(TChatExample example);

    TChat selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") TChat record, @Param("example") TChatExample example);

    int updateByExampleWithBLOBs(@Param("record") TChat record, @Param("example") TChatExample example);

    int updateByExample(@Param("record") TChat record, @Param("example") TChatExample example);

    int updateByPrimaryKeySelective(TChat record);

    int updateByPrimaryKeyWithBLOBs(TChat record);

    int updateByPrimaryKey(TChat record);
}